import { FC,useEffect, useState } from 'react';
import { useNavigate } from 'react-router';

const Index: FC<any> = (props:any): JSX.Element => {

    console.log("我是useMemo的子组件");
    

    useEffect(()=>{

        console.log("useEffect");
        
    },[])

    return (
      <div>useMemo子组件</div>
    )
}
export default Index;